package com.sx.service;

import com.sx.domain.Course;
import com.sx.domain.CourseLesson;
import com.sx.domain.CourseSection;

import java.util.List;

public interface CourseContentService {
    public List<CourseSection> findSectionAndLessonByCourseId(Integer courseId);


    //回显课程信息
    public Course findCourseByCourseId(Integer courseId);


    public void saveSection(CourseSection section);

    //修改课程章节信息

    public void updateSection(CourseSection section);

    //修改课程章节状态
    public void updateSectionStatus(int id,int status);

    /**
     * 添加课时信息
     * */
    public void AddcClasShourInformation(CourseLesson lesson);

    /**
     * 修改课时信息
     */
    public void updateLesson(CourseLesson lesson);


}
